/**
 * Filename: YNUpLoadAttr.java
 *
 * @author Firefly
 * @contact postfirefly@163.com
 * @time 2016/3/17 16:07
 */
package com.github.postsanf.yinian.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * 上传数据类
 */
public class YNUpLoadAttr {
    public Map<Integer, YNUpLoadStatus> upInfo = null;
    public long uploadTotalSize = 0;                        // 总上传大小
    public long uploadUpedSize = 0;                        // 总共已上传大小

    public YNUpLoadAttr() {
    }

    public YNUpLoadAttr(long uploadTotalSize, long uploadUpedSize) {
        upInfo = new HashMap<>();
        this.uploadTotalSize = uploadTotalSize;
        this.uploadUpedSize = uploadUpedSize;
    }
}